failure 32:
Requirement failed: {log1pf.10.02.01} Function executed successfully with EOK error code, while `compare_Unifloat(x, changeSign_Unifloat(createOne_Unifloat(x->type), -1)) == 0 == true` means that ERANGE SHALL be set
location |
trace |
/var/opt/lsb/test/olver-core/2013-07-25_08-37-08/math_exp_scenario.utz (math_exp_scenario.utt), line 45209 |
occurence |
scenario |
math_exp_scenario |
specification function |
log1p_spec() |
parameter value |
CallContext context = [pid=22081,thr=b752e700] |
parameter value |
Unifloat * @x = (float) -1.0000000000000000e+00 (-0x.80000000P1F) |
parameter value |
Unifloat * x = (float) -1.0000000000000000e+00 (-0x.80000000P1F) |
parameter value |
Unifloat * @standart = <NULL> |
parameter value |
Unifloat * standart = <NULL> |
parameter value |
IntT rounding = 0 |
parameter value |
IntT * @dist = <NULL> |
parameter value |
IntT * dist = <NULL> |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EOK |
return value |
(Unifloat *) (float) -Infinity |
coverage & branch |
C x is neg One |
properties |
REQ failed |
log1pf.10.02.01 |
expected value |
(float) -Infinity |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The log1p(x) family of functions shall compute log(1.0 + x).
According to LSB, the functions shall fail if argument equals to -1
and set error code to ERANGE.
But on the target machine the functions set error code EOK instead of ERANGE
in this case.
|
|